﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YTCMS.Domain.Entities
{
    [Table("orders")]
    public partial class orders
    {
        [Key]
        public int Id { get; set; }
        public Nullable<int> uid { get; set; }
        [ForeignKey("uid")]
        public virtual users users { get; set; }

        public Nullable<int> State { get; set; }
        public System.DateTime OrderTime { get; set; }
        public Nullable<int> OrderType { get; set; }
        public Nullable<System.DateTime> PayTime { get; set; }
        public Nullable<System.DateTime> ShopingTime { get; set; }
        public string ShopAddress { get; set; }
        public string ShopNo { get; set; }
        public string Logistics { get; set; }
        public string LogisticsNo { get; set; }
        public string CloseCause { get; set; }
        public string Remark { get; set; }
        public string ShopMobile { get; set; }
        public string ShopZip { get; set; }
        public string Code { get; set; }
        public string ShopPerson { get; set; }
        public Nullable<decimal> Money { get; set; }
    }
}
